package com.itcc.controller;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Result {

    private Integer  code;

    private String msg;

    private Object data;

    public Result(String msg) {
        this.msg = msg;
    }

    public Result(Integer code) {
        this.code = code;
    }

    public Result(Integer code, String msg) {
        this.msg = msg;
        this.code = code;
    }

}
